package com.project.hqshorttaxi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "T_Log")
public class Log implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 操作类型（0-摄像头日志1-闸机日志2-大数据中心接口日志）
     */
    @Column(name = "LogType")
    private Integer logType;

    /**
     * 日志名称
     */
    @Column(name = "LogName")
    private String logName;

    /**
     * 日志内容
     */
    @Column(name = "LogContent")
    private String logContent;

    /**
     * 时间
     */
    @Column(name = "LogTime")
    private Date logTime;


}
